// 获取列表
export const setTaskExerciseList = list => {
    return {
        type: 'SET_TASK_EXERCISE_LIST',
        payload: list
    }
}

// 添加
export const addTaskExerciseItem = item => {
    return {
        type: 'ADD_TASK_EXERCISE_ITEM',
        payload: item
    }
}

// 移除
export const delTaskExerciseItem = id => {
    return {
        type: 'DEL_TASK_EXERCISE_ITEM',
        payload: id
    }
}

// 清空
export const emptyTaskExerciseItem = () => {
    return {
        type: 'EMPTY_TASK_EXERCISE',
        payload: []
    }
}
